/*
 * @Description:
 * @Author: r_yuesheng
 * @Date: 2022-04-09 15:33:02
 * @LastEditTime: 2022-04-09 15:34:47
 * @LastEditors: r_yuesheng
 */
import {
  AlignLeftOutlined,
  LineChartOutlined,
  ApartmentOutlined,
  DeleteColumnOutlined,
  DesktopOutlined
} from '@ant-design/icons';
export const navMenu = [
  {
    id: 0,
    path: '/admin/index',
    title: '主页',
    icon: <AlignLeftOutlined />
  },
  {
    path: '/admin/fatherson',
    id: 1,
    title: '功能集合',
    icon: <DesktopOutlined />,
    children: [
      {
        path: '/admin/fatherson',
        title: '父子传值',
        icon: <ApartmentOutlined />
      },
      {
        path: '/admin/redux',
        title: 'redux传值',
        icon: <DeleteColumnOutlined />
      },
      {
        path: '/admin/redux-toolkit',
        title: 'redux-toolkit传值',
        icon: <DeleteColumnOutlined />
      },
      {
        path: '/admin/mobx',
        title: 'mobx传值',
        icon: <DeleteColumnOutlined />
      },
      {
        path: '/admin/http',
        title: '网络请求',
        icon: <DeleteColumnOutlined />
      },
      {
        path: '/admin/ref',
        title: 'Ref的使用',
        icon: <DeleteColumnOutlined />
      }
    ]
  },
  {
    id: 2,
    path: '/admin/hook/learn_1',
    title: 'Hook练习',
    icon: <AlignLeftOutlined />,
    children: [
      {
        path: '/admin/hook/learn_1',
        title: '练习一',
        icon: <ApartmentOutlined />
      }
    ]
  },
  {
    id: 3,
    path: '/admin/extend',
    title: '扩展功能',
    icon: <AlignLeftOutlined />,
    children: [
      {
        path: '/admin/theme',
        title: '自定义换肤',
        icon: <ApartmentOutlined />
      }
    ]
  },
  {
    id: 4,
    path: '/admin/list',
    title: '列表分页',
    icon: <AlignLeftOutlined />
  },
  {
    id: 5,
    path: '/admin/dashbored',
    title: '看板',
    icon: <LineChartOutlined />
  }
];
